package com.woniuxy.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 设备表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceManage {
    private Integer id;         //id
    private String deName;       //设备名
    private BigDecimal dePrice;  //价格
    private Integer deNum;       //数量
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deDate;         //购入时间
    private String deDepartmentId;  //科室id
    private String deStatus;         //状态 正常/暂停服务
}
